<template>
    <div @click="fatherFn">
      1223
        <button  @click.stop>儿子阻止冒泡</button>
        <a @click.prevent.stop href="http://www.baidu.com">阻止去百度</a>
    </div>
</template>

<script>
export default {
    name: 'VuecliTwo05VOn',

    data() {
        return {
            
        };
    },

    mounted() {
        
    },

    methods: {
        fatherFn(){
            console.log('父亲之指');
        }
    },
};
</script>

<style lang="scss" scoped>

</style>